package com.blt.govdata.service;

import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.blt.govdata.model.TProject;
import com.blt.govdata.model.vo.TProjectVo;
import org.apache.ibatis.annotations.Param;
import org.apache.poi.ss.formula.functions.T;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 * @author AustinGJ123
 * @since 2018-03-26
 */
public interface ITProjectService extends IService<TProject> {

    List<Map<String, Object>> showProject(Map<String, Object> params);

    Page<TProjectVo> selectProjectVoPage(Page<TProjectVo> page, Map<String, Object> params);

    TProjectVo selectProjectBasicInfoById(Map<String, Object> params);

    boolean editProjectBasicInfo(TProjectVo tProjectVo);

    Page<Map<String,Object>> selectGeometryPage(Map<String,Object> params,Page page);

    List<Map<String,Object>> selectSQL(String sql);

    List<Integer> selectUserBtns(Integer userId);

}
